/**
 * 
 */
package commons;

import java.util.List;

import commons.exception.AlreadyUsedNameException;
import commons.exception.NotFoundNameException;

/**
 * @author armstrong
 * 
 */
public interface NameResolver<E> {

	void delete(String name) throws NotFoundNameException;

	boolean exist(String name);

	List<String> list();

	void map(String name, E object) throws AlreadyUsedNameException;

	E resolve(String name) throws NotFoundNameException;
}
